<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="compositor-touch-hit-rects.css">
<style>
html {
  font-size: 10px;
}
#tests {
  /* Make sure the html/body nodes have 0 height */
  position: absolute;
}
</style>
</head>
<body>
  <div id='tests'>
    Document with touch handlers.
    <br><br>
    <br><br><br>
  </div>
  <script>
  if (window.testRunner)
      document.documentElement.setAttribute('dumpRenderTree', 'true');

  function handler() {};
  frameElement.addHandlers = function() {
    document.addEventListener('touchstart', handler, {passive: false});
  }
  frameElement.removeHandlers = function() {
    document.removeEventListener('touchstart', handler, false);
  }
  </script>

</body>
</html>
